//
//  EPMEmotionModel.m
//  WeiBoByOC
//
//  Created by 马继鵬 on 17/4/7.
//  Copyright © 2017年 7TH. All rights reserved.
//

#import "EPMEmotionModel.h"

@implementation EPMEmotionModel

- (void)setType:(NSString *)type
{
    _type = type;
    if ([type isEqualToString:@"1"]){
        _isEmoji = YES;
    }
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    return [self yy_modelInitWithCoder:aDecoder];
}

- (void)encodeWithCoder:(NSCoder *)aCoder{
    [self yy_modelEncodeWithCoder:aCoder];
}

@end
